FROM openjdk:8u121-jre-alpine
WORKDIR /kaer
COPY ./target/kaer-gateway-1.0-SNAPSHOT.jar /kaer/kaer-gateway-1.0-SNAPSHOT.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE 80
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENTRYPOINT ["java","-jar","kaer-gateway-1.0-SNAPSHOT.jar"]
